Function at 0x403866
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x57ee38], eax
call sub.comctl32.dll_InitCommonControls
push 0
push 0x403866
push 0
push 0x3e8
push dword [0x57ee38]
call sub.user32.dll_DialogBoxParamA
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x4039e3
push pe_nt_image_headers32
push dword [0x57ee38]
call sub.user32.dll_LoadIconA
push eax
push 1
push 0x80
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
mov dword [0x58eac7], 0
mov dword [0x58eacb], 0
push 0x20
push 0x58e862
call sub.kernel32.dll_RtlZeroMemory
push 0x1f
push 0x58e862
push 0x411
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x20
push 0x58e882
call sub.kernel32.dll_RtlZeroMemory
push 0x1f
push 0x58e882
push 0x412
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x100
push 0x58e9af
call sub.kernel32.dll_RtlZeroMemory
push 0x406cd2
push 0x58e9af
call sub.kernel32.dll_lstrcpyA
push str.SDAV1P5.lp
push 0x58e9af
call sub.kernel32.dll_lstrcatA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push 0x58e9af
call sub.kernel32.dll_CreateFileA
mov dword [0x57ee3c], eax
cmp eax, 0xffffffff
je 0x4039de
push 0x58eab3
push dword [0x57ee3c]
call sub.kernel32.dll_GetFileSize
mov dword [0x58eab7], eax
push 0
push 0x58eaaf
push eax
push 0x58e8a2
push dword [0x57ee3c]
call sub.kernel32.dll_ReadFile
push dword [0x57ee3c]
call sub.kernel32.dll_CloseHandle
mov eax, 0x58e8a2
mov dword [0x58eabb], eax
mov ecx, 0
mov ebx, 0
mov bl, 0xd
mov bh, 0
mov bh, byte [eax]
add eax, 1
cmp bh, bl
jne 0x40398f
sub eax, 1
mov byte [eax], cl
add eax, 2
mov dword [0x58eabf], eax
mov bh, byte [eax]
add eax, 1
cmp bh, bl
jne 0x4039a5
sub eax, 1
mov byte [eax], cl
push dword [0x58eabb]
push 0x411
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push dword [0x58eabf]
push 0x412
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x4045a8
jmp 0x4045a8
cmp eax, 0x111
jne 0x404599
mov eax, dword [ebp + 0x10]
cmp eax, 0x3e9
jne 0x403b2c
push 0x20
push 0x58e862
call sub.kernel32.dll_RtlZeroMemory
push 0x1f
push 0x58e862
push 0x411
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x58e862
call sub.kernel32.dll_lstrlenA
cmp eax, 0
je 0x403b19
push 0x20
push 0x58e882
call sub.kernel32.dll_RtlZeroMemory
push 0x1f
push 0x58e882
push 0x412
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x58e882
call sub.kernel32.dll_lstrlenA
cmp eax, 0
je 0x403b19
push 0x10d
push 0x58e8a2
call sub.kernel32.dll_RtlZeroMemory
push 0x58e862
push 0x58e8a2
call sub.kernel32.dll_lstrcpyA
push 0x406e25
push 0x58e8a2
call sub.kernel32.dll_lstrcatA
push 0x58e882
push 0x58e8a2
call sub.kernel32.dll_lstrcatA
push 0x100
push 0x58e9af
call sub.kernel32.dll_RtlZeroMemory
push 0x406cd2
push 0x58e9af
call sub.kernel32.dll_lstrcpyA
push str.SDAV1P5.lp
push 0x58e9af
call sub.kernel32.dll_lstrcatA
push 0x57ee3c
push 2
push 2
push 0
push 2
push 0x40000000
push 0x58e9af
call sub.kernel32.dll_CreateFileA
mov dword [0x57ee3c], eax
push 0x58e8a2
call sub.kernel32.dll_lstrlenA
push 0
push 0x58eaaf
push eax
push 0x58e8a2
push dword [0x57ee3c]
call sub.kernel32.dll_WriteFile
push dword [0x57ee3c]
call sub.kernel32.dll_CloseHandle
push 0
push 0
push 0x10
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
jmp 0x4045a8
cmp eax, 0x3ec
jne 0x403bfb
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 9
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0xfa01
push 0x57ee4c
call sub.kernel32.dll_RtlZeroMemory
push 0xfa00
push 0x57ee4c
push 0x3ed
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x58e84d
call sub.kernel32.dll_lstrlenA
cmp eax, 8
je 0x403ba2
push 0x10
push str.Erreur
push str.Le_numero_est_vide_ou_na_pas_8_chiffres__
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403bf6
push 0x57ee4c
call sub.kernel32.dll_lstrlenA
cmp eax, 0
jne 0x403bc7
push 0x10
push str.Erreur
push str.Le_champs_OCB_na_pas_ete_rempli__
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403bf6
push 0x58e84d
push 0x57ee4c
call fcn.00401716
mov dword [0x57ee44], eax
mov eax, dword [0x57ee44]
mov ebx, dword [eax]
mov dword [0x58eac7], ebx
push 0x3f8
push dword [ebp + 8]
push ebx
call fcn.00402013
jmp 0x4045a8
cmp eax, 0x3f1
jne 0x403cca
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 9
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x493e1
push 0x58eacf
call sub.kernel32.dll_RtlZeroMemory
push 0x493e0
push 0x58eacf
push 0x3ef
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x58e84d
call sub.kernel32.dll_lstrlenA
cmp eax, 8
je 0x403c71
push 0x10
push str.Erreur
push str.Le_numero_est_vide_ou_na_pas_8_chiffres__
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403cc5
push 0x58eacf
call sub.kernel32.dll_lstrlenA
cmp eax, 0
jne 0x403c96
push 0x10
push str.Erreur
push str.Le_champs_GRT_na_pas_ete_rempli__
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403cc5
push 0x58e84d
push 0x58eacf
call fcn.00401a35
mov dword [0x57ee48], eax
mov eax, dword [0x57ee48]
mov ebx, dword [eax]
mov dword [0x58eacb], ebx
push 0x3f9
push dword [ebp + 8]
push ebx
call fcn.00402013
jmp 0x4045a8
cmp eax, 0x3fc
jne 0x403d21
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 9
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0xfa01
push 0x57ee4c
call sub.kernel32.dll_RtlZeroMemory
push 0x57ee4c
call fcn.004014d3
push 0x57ee4c
push 0x3ed
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x4045a8
cmp eax, 0x3fd
jne 0x403df1
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 9
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x493e1
push 0x58eacf
call sub.kernel32.dll_RtlZeroMemory
push 0x58eacf
call fcn.004014d3
push 0x58eacf
push 0x3ef
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x403dec
jmp 0x4045a8
cmp eax, 0x3f6
jne 0x403e8e
mov eax, dword [0x58eac7]
cmp eax, 0
jne 0x403e1c
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_de_lOCB_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403e89
mov eax, dword [0x58eacb]
cmp eax, 0
jne 0x403e3c
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_du_GRT_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403e89
push 0x186a1
push 0x5d7eb0
call sub.kernel32.dll_RtlZeroMemory
push 0x5d7eb0
push dword [0x57ee48]
push dword [0x57ee44]
call fcn.00401f02
mov eax, 0x5d7eb0
mov ebx, dword [eax]
push 0x3fa
push dword [ebp + 8]
push ebx
call fcn.00402013
mov eax, 0x5d7eb0
push 0x3f3
push dword [ebp + 8]
push eax
call fcn.0040202f
jmp 0x4045a8
cmp eax, 0x3f7
jne 0x403f2b
mov eax, dword [0x58eac7]
cmp eax, 0
jne 0x403eb9
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_de_lOCB_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403f26
mov eax, dword [0x58eacb]
cmp eax, 0
jne 0x403ed9
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_du_GRT_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403f26
push 0x186a1
push 0x5f0551
call sub.kernel32.dll_RtlZeroMemory
push 0x5f0551
push dword [0x57ee44]
push dword [0x57ee48]
call fcn.00401f02
mov eax, 0x5f0551
mov ebx, dword [eax]
push 0x3fb
push dword [ebp + 8]
push ebx
call fcn.00402013
mov eax, 0x5f0551
push 0x3f5
push dword [ebp + 8]
push eax
call fcn.0040202f
jmp 0x4045a8
cmp eax, 0x400
jne 0x403f67
mov eax, dword [0x58eac7]
cmp eax, 0
jne 0x403f52
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_de_lOCB_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403f62
mov eax, dword [0x57ee44]
push 0
push dword [ebp + 8]
push eax
call fcn.0040202f
jmp 0x4045a8
cmp eax, 0x401
jne 0x403fa3
mov eax, dword [0x58eacb]
cmp eax, 0
jne 0x403f8e
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_du_GRT_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403f9e
mov eax, dword [0x57ee48]
push 0
push dword [ebp + 8]
push eax
call fcn.0040202f
jmp 0x4045a8
cmp eax, 0x402
jne 0x403fd7
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 0x58e84d
call fcn.004014d3
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x4045a8
cmp eax, 0x3ff
jne 0x404151
mov dword [0x58eac7], 0
mov dword [0x58eacb], 0
mov dword [0x58eac3], 0
mov dword [0x57ee44], 0
mov dword [0x57ee48], 0
push 0xfa01
push 0x57ee4c
call sub.kernel32.dll_RtlZeroMemory
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 0xb
push 0x58e857
call sub.kernel32.dll_RtlZeroMemory
push 0x186a1
push 0x58eacf
call sub.kernel32.dll_RtlZeroMemory
push 0x186a1
push 0x5d7eb0
call sub.kernel32.dll_RtlZeroMemory
push 0x186a1
push 0x5f0551
call sub.kernel32.dll_RtlZeroMemory
push 0x186a1
push 0x608bf2
call sub.kernel32.dll_RtlZeroMemory
push 0x186a1
push 0x621293
call sub.kernel32.dll_RtlZeroMemory
push 0x406ba5
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x3ed
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x3ef
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x3f8
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x3f9
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x3f3
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x3f5
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x3fa
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x3fb
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x406
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
push 0x406ba5
push 0x40a
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x4045a8
cmp eax, 0x403
jne 0x404167
push str.http:__172.29.6.1_STCE_interrogationLigne.php
call fcn.00401000
jmp 0x4045a8
cmp eax, 0x404
jne 0x40417d
push str.http:__grtlite.gmt.intra
call fcn.00401000
jmp 0x4045a8
cmp eax, 0x405
jne 0x4041ec
mov eax, dword [0x58eac7]
cmp eax, 0
jne 0x4041a4
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_de_lOCB_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x4041e7
push 0x186a1
push 0x608bf2
call sub.kernel32.dll_RtlZeroMemory
push dword [0x57ee44]
call fcn.00402102
mov ebx, dword [0x58eac7]
push 0x608bf2
push eax
push ebx
push 0x58e84d
call fcn.0040221c
push 0x608bf2
push 0x406
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x4045a8
cmp eax, 0x407
jne 0x404234
mov eax, dword [0x58eac7]
cmp eax, 0
jne 0x404213
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_de_lOCB_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x40422f
mov eax, 0x608bf2
push eax
call sub.kernel32.dll_lstrlenA
add eax, 1
push eax
push 0x608bf2
push dword [ebp + 8]
call fcn.00401520
jmp 0x4045a8
cmp eax, 0x40d
jne 0x4042a3
mov eax, dword [0x58eacb]
cmp eax, 0
jne 0x40425b
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_du_GRT_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x40429e
push 0x186a1
push 0x621293
call sub.kernel32.dll_RtlZeroMemory
push dword [0x57ee48]
call fcn.00402102
mov ebx, dword [0x58eacb]
push 0x621293
push eax
push ebx
push 0x58e84d
call fcn.0040221c
push 0x621293
push 0x40a
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x4045a8
cmp eax, 0x40c
jne 0x4042eb
mov eax, dword [0x58eacb]
cmp eax, 0
jne 0x4042ca
push 0x10
push str.La_commande_ne_peut_se_lancer
push str.La_liste_du_GRT_est_vide
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x4042e6
mov eax, 0x621293
push eax
call sub.kernel32.dll_lstrlenA
add eax, 1
push eax
push 0x621293
push dword [ebp + 8]
call fcn.00401520
jmp 0x4045a8
cmp eax, 0x40e
jne 0x4043f9
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 9
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x3ed
push 0x58e84d
push 0
push 0
push dword [ebp + 8]
call fcn.004024ef
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 9
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0xfa01
push 0x57ee4c
call sub.kernel32.dll_RtlZeroMemory
push 0xfa00
push 0x57ee4c
push 0x3ed
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x58e84d
call sub.kernel32.dll_lstrlenA
cmp eax, 8
je 0x404397
push 0x10
push str.Erreur
push str.Le_numero_est_vide_ou_na_pas_8_chiffres__
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x4043f4
push 0x57ee4c
call sub.kernel32.dll_lstrlenA
cmp eax, 0
jne 0x4043bc
push 0x10
push str.Erreur
push str.Le_champs_OCB_na_pas_ete_rempli__
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x4043f4
push 0x58e84d
push 0x57ee4c
call fcn.00401716
or eax, eax
jne 0x4043d4
jmp 0x4045a8
mov dword [0x57ee44], eax
mov eax, dword [0x57ee44]
mov ebx, dword [eax]
mov dword [0x58eac7], ebx
push 0x3f8
push dword [ebp + 8]
push ebx
call fcn.00402013
jmp 0x4045a8
cmp eax, 0x40f
jne 0x4045a8
push 0x20
push 0x58e862
call sub.kernel32.dll_RtlZeroMemory
push 0x1f
push 0x58e862
push 0x411
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x20
push 0x58e882
call sub.kernel32.dll_RtlZeroMemory
push 0x1f
push 0x58e882
push 0x412
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x58e862
call sub.kernel32.dll_lstrlenA
cmp eax, 0
jne 0x40446b
push 0x10
push str.Erreur
push str.Les_informations_de_Logins_passwords_et_Num
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
leave
ret 0x10
push 0x58e882
call sub.kernel32.dll_lstrlenA
cmp eax, 0
jne 0x404492
push 0x10
push str.Erreur
push str.Les_informations_de_Logins_passwords_et_Num
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
leave
ret 0x10
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 9
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x3ef
push 0
push 0
push 0x58e84d
push 0x58e882
push 0x58e862
push dword [ebp + 8]
call fcn.00402f1b
push 0xa
push 0x58e84d
call sub.kernel32.dll_RtlZeroMemory
push 9
push 0x58e84d
push 0x3eb
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x493e1
push 0x58eacf
call sub.kernel32.dll_RtlZeroMemory
push 0x493e0
push 0x58eacf
push 0x3ef
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
push 0x58e84d
call sub.kernel32.dll_lstrlenA
cmp eax, 8
je 0x40453d
push 0x10
push str.Erreur
push str.Le_numero_est_vide_ou_na_pas_8_chiffres__
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x404597
push 0x58eacf
call sub.kernel32.dll_lstrlenA
cmp eax, 0
jne 0x404562
push 0x10
push str.Erreur
push str.Le_champs_GRT_na_pas_ete_rempli__
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x404597
push 0x58e84d
push 0x58eacf
call fcn.00401c73
or eax, eax
jne 0x404577
jmp 0x404597
mov dword [0x57ee48], eax
mov eax, dword [0x57ee48]
mov ebx, dword [eax]
mov dword [0x58eacb], ebx
push 0x3f9
push dword [ebp + 8]
push ebx
call fcn.00402013
jmp 0x4045a8
cmp eax, 0x10
jne 0x4045a8
push 0
push dword [ebp + 8]
call sub.user32.dll_EndDialog
xor eax, eax
leave
ret 0x10